const order = {
    state: {
      customerListPage: 1,
      status:null,
      name:''
    },
    mutations: {
      SAVE_CUSTOMER_PAGE: (state, page) => {
        state.customerListPage = page
      },
      SAVE_CUSTOMER_STATUS: (state, status) => {
        state.status = status
      },
      SAVE_CUSTOMER_NAME: (state, name) => {
        state.name = name
      },
    },
    actions: {
      saveCustomerListPage({
        commit
      }, page) {
        commit('SAVE_CUSTOMER_PAGE', page)
      },
      saveCustomerStatus({
        commit
      }, status) {
        commit('SAVE_CUSTOMER_STATUS', status)
      },
      saveCustomerName({
        commit
      }, name) {
        commit('SAVE_CUSTOMER_NAME', name)
      },
  
    }
  }
  
  export default order